package com.hp.snap.gr.model.jaxb;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;


/**
 * <p>Java class for ExportVoltDBConfigurationActionType complex type.
 * <p/>
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p/>
 * <pre>
 * &lt;complexType name="ExportVoltDBConfigurationActionType">
 *   &lt;complexContent>
 *     &lt;extension base="{}ActionType">
 *       &lt;sequence>
 *         &lt;element name="outputDirectory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="vemHost" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="vemPort" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="vemUri" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="database" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ExportVoltDBConfigurationActionType", propOrder = {
        "outputDirectory",
        "vemHost",
        "vemSshUser",
        "vemPort",
        "vemUri",
        "database"
})
public class ExportVoltDBConfigurationActionType
        extends ActionType {

    protected String outputDirectory;
    @XmlElement(required = true)
    protected String vemHost;
    @XmlElement(required = true)
    protected String vemPort;
    @XmlElement(required = true)
    protected String vemUri;
    @XmlElement(required = true)
    protected List<String> database;
    protected String vemSshUser;
    /**
     * Gets the value of the outputDirectory property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getOutputDirectory() {
        return outputDirectory;
    }

    /**
     * Sets the value of the outputDirectory property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setOutputDirectory(String value) {
        this.outputDirectory = value;
    }

    /**
     * Gets the value of the vemHost property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getVemHost() {
        return vemHost;
    }

    /**
     * Sets the value of the vemHost property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setVemHost(String value) {
        this.vemHost = value;
    }

    /**
     * Gets the value of the vemPort property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getVemPort() {
        return vemPort;
    }

    /**
     * Sets the value of the vemPort property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setVemPort(String value) {
        this.vemPort = value;
    }

    /**
     * Gets the value of the vemUri property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getVemUri() {
        return vemUri;
    }

    /**
     * Sets the value of the vemUri property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setVemUri(String value) {
        this.vemUri = value;
    }

    /**
     * Gets the value of the database property.
     * <p/>
     * <p/>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the database property.
     * <p/>
     * <p/>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getDatabase().add(newItem);
     * </pre>
     * <p/>
     * <p/>
     * <p/>
     * Objects of the following type(s) are allowed in the list
     * {@link String }
     */
    public List<String> getDatabase() {
        if (database == null) {
            database = new ArrayList<String>();
        }
        return this.database;
    }

    public String getVemSshUser() {
        return vemSshUser;
    }

    public void setVemSshUser(String vemSshUser) {
        this.vemSshUser = vemSshUser;
    }
}
